package com.sh.data.engine.domain.normalization.model.model.domain;

import lombok.Data;

/**
 * @author : fuchen
 * @date : 2022/1/7 11:50
 */
@Data
//@ApiModel
public class RelationTableDomain {
    //    @Min(value = 1)
//    @ApiModelProperty(value = "指标id")
    private Long indexlibId;

    /**
     * 只做展示用，不做存储
     */
//    @ApiModelProperty(value = "指标名")
    private String indexlibName;

    //    @Min(value = 1)
//    @ApiModelProperty(value = "表id")
    private Long tableId;

    //    @ApiModelProperty(value = "表别名")
    private String tableAlias;

    //    @Size(max = 255)
//    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    //    @Size(max = 255)
//    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    //    @Size(max = 255)
//    @ApiModelProperty(value = "字段描述")
    private String fieldComment;

    /**
     * 时间粒度，针对时间类型的字段，day，week，month，quarter，year
     */
//    @ApiModelProperty(value = "时间粒度 day，week，month，quarter，year")
    private String timeUnit;
}
